<%-- 
    Document   : showcourses
    Created on : Jun 5, 2012, 11:50:09 PM
    Author     : FRIENDS
--%>

<%@page import="AO.Course" contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
        <title>JSP Page</title>
    </head>
    <body>
            <%
         String[] ids=helper.course.getCourseIds();
         int i=0;
         if(ids!=null)
         for(i=0;i<ids.length;i++)
            {
            Course course=helper.course.getCourseBean(ids[i]);
            out.println("<br />course id : "+course.getCourseId());
            out.println("<br />course name : "+course.getCourseName());
            out.println("<br />Start date : "+course.getSdate());
            out.println("<br />end date : "+course.getEdate());
            out.println("<br />number of exams : "+course.getNoofExams());
            out.println("<br />number of faculty : "+course.getNoofFaculty());
            out.println("<br />Course Fee : "+course.getFee());
            }
        %>

    
    </body>
</html>
